package com.neu.questionnaire_system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xingle
 * @since 2022-10-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
//@Accessors(chain = true)
public class Answer implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 答者的用户名
     */
    @TableField("answerName")
    private String answerName;

    /**
     * 答者的id
     */
    @TableId(value = "aid", type = IdType.ID_WORKER_STR)
    private String aid;

    /**
     * 答者的密码
     */
    private String password;

    /**
     * 答者的手机
     */
    private String phone;

    /**
     * 答者的年龄
     */
    private Integer age;

    /**
     * 答者的性别
     */
    private String gender;

    /**
     * 答者的住址
     */
    private String address;
    private String job;

    private String isDeleted;

    public String getAid() {
        return aid;
    }
}
